package com.cqeec.myblog.service;

import java.sql.SQLException;

import com.cqeec.myblog.dao.PhotoDao;
import com.cqeec.myblog.dao.PhotoDaoImpl;
import com.cqeec.myblog.model.Photo;

public class PhotoServiceImpl implements PhotoService {
	private PhotoDao photoDao = new PhotoDaoImpl();

	@Override
	public void save(Photo photo) throws ClassNotFoundException, SQLException {
		photoDao.save(photo);
	}

}
